﻿using System;
using System.Collections.Generic;
using PagedList;
using Ayatta.Contract.Domain;

namespace Web.Seller.Models
{
    public static class AuctionControllerModel
    {
        public class Index
        {
            public string Keyword { get; set; }
            public string User { get; set; }
            public string ItemId { get; set; }

            public byte? Level { get; set; }
            public int? Group { get; set; }
            public bool? IsZero { get; set; }
            public bool? IsAuto { get; set; }
            public bool? IsVirtual { get; set; }
            public bool? DiffBuy { get; set; }
            public bool? FreeBid { get; set; }
            public bool? Reservation { get; set; }
            public bool? Dynamic { get; set; }
            public AuctionStatus? Status { get; set; }
            public DateTime? OnlineDate { get; set; }
            public DateTime? FinishedDate { get; set; }
            public IPagedList<ProductAuction> Auctions { get; set; }

        }

        public class Edit
        {
            public ProductAuction Auction { get; set; }
            public IDictionary<int, IEnumerable<string>> Dictionary { get; set; }
        }
        
    }
}
